package com.qingzhou.web.service;

import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;
import com.qingzhou.web.repository.entity.OmicsCollectEntity;
import com.qingzhou.web.service.impl.params.request.*;
import com.qingzhou.web.service.impl.params.vo.OmicsCollectVo;

/**
 * 组学采样信息
 * @author 李海
 */
public interface OmicsCollectService extends IService<OmicsCollectEntity> {
    int add(OmicsCollectAddForm form);
    int delete(OmicsCollectDeleteForm form);
    Page<OmicsCollectVo> page(Page<OmicsCollectEntity> page, SubTablePageForm form);
    OmicsCollectVo detail(OmicsCollectDetailForm form);
    int edit(OmicsCollectEditForm form);
    int forceEdit(OmicsCollectForceEditForm form);

    /**
     * 核实
     */
    int done(OmicsCollectDoneForm form);
    int stop(OmicsCollectStopForm form);

    int pushToKhSys(SamplePushForm form);
}
